package com.yunji.storage.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunji.common.annotation.Excel;
import com.yunji.common.base.BaseDelFlagDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

;

/**
 * @Package com.yunji.storage.domain
 * FileName:	StockTakeInfo.java
 * Copyright:	Copyright © 2024 All Rights Reserved
 * Company:		云集互联
 * @version: 1.0
 * @since: JDK 1.8.0_202
 * Create at:   2024-08-30 10:02:31.627
 * Description:
 * 盘点详情表
 * Modification History:
 * Author					Date						Version			Description
 * --------------------------------------------------------------------------------
 * HuaAo				2024-08-30 10:02:31			1.0				1.0 Version
 */
@ApiModel(value = "v3_stocktake_info", description = "盘点详情表")
@TableName("v3_stocktake_info")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StockTakeInfoDO extends BaseDelFlagDO implements Serializable {
    private static final long serialVersionUID = -1L;

    @Excel(name = "详情ID", width = 15)
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "详情ID")
    private java.lang.Long infoId;

    @Excel(name = "所属单位ID", width = 15)
    @ApiModelProperty(value = "所属单位ID")
    private java.lang.Long belongId;

    @Excel(name = "盘点表ID", width = 15)
    @ApiModelProperty(value = "盘点表ID")
    private java.lang.Long stocktakeId;

    @Excel(name = "盘点单号", width = 15)
    @ApiModelProperty(value = "盘点单号")

    private java.lang.String stocktakeCode;

    @Excel(name = "账面可用库存", width = 15)
    @ApiModelProperty(value = "账面可用库存")
    private BigDecimal expectQuantity;

    @Excel(name = "实际可用库存", width = 15)
    @ApiModelProperty(value = "实际可用库存")
    private BigDecimal actualQuantity;

    @Excel(name = "差距数量", width = 15)
    @ApiModelProperty(value = "差距数量")
    private BigDecimal stocktakeDeviate;

    @Excel(name = "盘点结果 0-情况相符 1-盘盈 2-盘亏", width = 15)
    @ApiModelProperty(value = "盘点结果 0-情况相符 1-盘盈 2-盘亏")
    private java.lang.Integer stocktakeResult;

    @Excel(name = "商品ID", width = 15)
    @ApiModelProperty(value = "商品ID")
    private java.lang.Long productId;

    @Excel(name = "商品sku", width = 15)
    @ApiModelProperty(value = "商品sku")
    private java.lang.String productSku;

    @Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
    private java.lang.String productName;

    @Excel(name = "商品单位ID", width = 15)
    @ApiModelProperty(value = "商品单位ID")
    private java.lang.Long unitId;

    @Excel(name = "商品单位名称", width = 15)
    @ApiModelProperty(value = "商品单位名称")
    private java.lang.String unitName;

    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;

    @ApiModelProperty("备注信息")
    @Excel(name = "备注信息", width = 15)
    private String remarks;
}
